MelhorEnvio\Services\CartService B

Total Complexity 84
Dependencies 17
Dependents 4
Total lines 437
Lines of code 280
Logical lines of code 144
Comment lines 69
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
validateAddress()
C
43 26 40
validatePayloadBeforeAddCart()
B
40 20 60
getInfoCart()
A
50 9 29
getAgencyToInsertCart()
S
54 6 22
getVolumes()
S
54 6 22
validateVolume()
S
58 6 17
add()
S
49 4 37
createPayloadToCart()
S
48 3 34
remove()
S
61 2 13
isAgencyNecessary()
S
70 2 6